/*
 *  ScalaSwingSet
 *  Copyright (c) 2008 Andy Hicks. All rights reserved.
 *  http://www.scalalabs.org
 *
 *  This software is released under the terms of the Revised BSD License.
 *  There is NO WARRANTY. See the file LICENSE for the full text.
 */
package com.scalalabs.scalaswingset

import scala.swing.{Label, Panel, SequentialContainer, BorderPanel}
import javax.swing.ImageIcon
import utils.RoundedPanel


class IntroPanel() extends RoundedPanel {
  opaque = false

  contents += new Label("") {
    icon = new ImageIcon(resourceFromClassloader("resources/images/home_notext.png"))
  }

  def resourceFromClassloader(path: String): java.net.URL = this.getClass.getResource(path)
}


/**
 * Panel with XY layout
 */
class XYPanel extends Panel with SequentialContainer.Wrapper {
}
